/*
 * @Author: 常安民 changanmin1@crdigital.com.cn
 * @Date: 2024-05-06 09:08:09
 * @LastEditors: 常安民 changanmin1@crdigital.com.cn
 * @LastEditTime: 2024-07-31 15:19:59
 * @FilePath: /console-web/src/store/getters.js
 * @Description: 
 * @email:anmin@foxmail.com
 * Copyright (c) 2024 by 华润数科控股有限公司/常安民, All Rights Reserved. 
 */
import { CoreModuleName } from "@/const";
export default {
    /**
     * 当前登录用户是不是平台管理员
     */
    isPlatformAdmin(state){
        return state[CoreModuleName].userInfo.category === 1;
    }
}
